<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>login</title>
</head>
<body>

<h1>登录</h1>
<form method="post" novalidate style="padding:0  50px">
    {% for field in form %}
        <p>{{ field.label }}: {{ field }} {{ field.errors[0] }}</p>
    {% endfor %}
    <input type="submit" value="提交">
</form>
</body>
</html>